<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Trang chi tiết</title>
<style type="text/css">
#nd {
	padding: 5px;
	text-align: justify;
}
</style>
</head>

<body>
<?php
$idmoi = $_GET["idmoi"];
include("kn.php");
$lenh = "select tenlaptop,tenhanglaptop,tenloai,hinh,mota,malaptop from laptop,hanglaptop, loailaptop where laptop.mahanglaptop = hanglaptop.mahanglaptop and laptop.maloailaptop = loailaptop.maloailaptop and malaptop='$idmoi'";
$kq = mysql_query($lenh);
while($row = mysql_fetch_array($kq))
{
echo"<table width='550' border='1' align='center' cellpadding='0' cellspacing='0' bordercolor='#FFCCCC' bgcolor='#FFFF99' style='border-collapse:collapse'>
  <tr>
    <td height='35' colspan='2' bgcolor='#FFFF66' align='center'>$row[0] - <font color='#FF0000'>$row[1]</font> - $row[2]</td>
  </tr>
  <tr>
    <td width='150'><img src='laptop/$row[3]' width='150' height='100' /></td>
    <td width='400' id='nd'><font color='#0000FF'>$row[4]</font><img src='image/New1.gif' width='41' height='22' /></td>
  </tr>
</table>";
}
?>

<p align="center">
  
  <a href="javascript:history.go(-1)">back</a>
</p>
</body>
</html>